package com.lcy.demo;

/**
 * <p>创建时间：2017/4/17 13:58</p>
 *
 * @author 娄存银
 * @version 1.0
 */
public class CustomException extends Exception{
    private int code;

    public CustomException(int code,String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
